package com.ease.common.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author nathanleewei
 * 
 */
public class BundleManifest extends Manifest {
	/**
	 *
	 */
	private static final long serialVersionUID = 8416760443064576298L;

	public static final String RequireBundle = "Require-Bundle";

	private List<ProjectBundle> requireBundles;

	public BundleManifest addRequireBundle(ProjectBundle requireBundle) {
		if (null == requireBundles) {
			requireBundles = new ArrayList<ProjectBundle>();
		}
		requireBundles.add(requireBundle);
		return this;
	}

	/**
	 * @return the requireBundles
	 */
	public List<ProjectBundle> getRequireBundles() {
		return requireBundles;
	}

	/**
	 * @param requireBundles
	 *            the requireBundles to set
	 */
	public void setRequireBundles(List<ProjectBundle> requireBundles) {
		this.requireBundles = requireBundles;
	}

}
